listbox: Cosmetic cleanup
authorMatthias Clasen <mclasen@redhat.com>
Sat, 14 Nov 2015 14:49:49 +0000 (09:49 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 14 Nov 2015 17:32:57 +0000 (12:32 -0500)
We don't cast these arguments anywhere else, so lets not do here
either.

gtk/gtklistbox.c

index bff3f329186191184fa36814d93a9e67598df6b4..82d759e14136532b333aa63cbcb5b1126aace4b8 100644 (file)
@@ -3150,8 +3150,8 @@ gtk_list_box_row_draw (GtkWidget *widget,
   context = gtk_widget_get_style_context (widget);
   state = gtk_widget_get_state_flags (widget);
 
-  gtk_render_background (context, cr, (gdouble) 0, (gdouble) 0, (gdouble) allocation.width, (gdouble) allocation.height);
-  gtk_render_frame (context, cr, (gdouble) 0, (gdouble) 0, (gdouble) allocation.width, (gdouble) allocation.height);
+  gtk_render_background (context, cr, 0, 0, allocation.width, allocation.height);
+  gtk_render_frame (context, cr, 0, 0, allocation.width, allocation.height);
 
   if (gtk_widget_has_visible_focus (GTK_WIDGET (row)))
     {